package com.frcdi.qms.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.frcdi.qms.domain.ProcessTemplates;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Select;

import java.util.List;

/**
 * @author : willian fu
 * @date : 2020/9/21
 */
@Mapper
public interface ProcessTemplatesMapper extends BaseMapper<ProcessTemplates> {
    @Select("select template_id, template_name, settings, form_items, process, icon, background, notify, who_commit, \n" +
            "       who_edit, who_export, remark, is_stop, created, updated, process_control, version, type from work_process_templates")
    public List<ProcessTemplates> getAll();
}
